

import argparse
import os
import json
class AttrDict(dict):
    def __init__(self, *args, **kwargs):
        super(AttrDict, self).__init__(*args, **kwargs)
        self.__dict__ = self

def get_config(config_path):
    with open(config_path) as f:
        config = json.load(f)
    f.close()
    config = AttrDict(config)

    return config

